
project(MQTTClient C)

message(STATUS "project binary dir:" ${PROJECT_BINARY_DIR})

# 
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

add_executable(mqttClient mqttClient.c)
#add_executable(mqttClient mqtttest.c)

target_include_directories(mqttClient PRIVATE /home/user/linux/tool/paho.mqtt.c-1.3.8/include/include)

target_link_directories(mqttClient PRIVATE /home/user/linux/tool/paho.mqtt.c-1.3.8/include/lib)

target_link_libraries(mqttClient PRIVATE paho-mqtt3c)
